package com.frejoys.common.vo.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/4/28 14:05
 */
@Data
public class UserWalletLogPageVo {
    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "Integer", name = "userId", description = "用户id", required = true, defaultValue = "1")
    private Long userId;

    // 昵称
    @Schema(type = "String", name = "nickname", description = "用户昵称", required = true, defaultValue = "1")
    private String nickname;

    // 电话
    @Schema(type = "String", name = "phone", description = "用户电话", required = true, defaultValue = "1")
    private String phone;


    @Schema(type = "BigDecimal", name = "money", description = "金额", required = true, defaultValue = "1")
    private BigDecimal money;

    // 根据类型不同：1.订单编号，2.商家提现编号
    @Schema(type = "Long", name = "drawSn", description = "根据类型不同：1.订单编号，2.商家提现编号", required = true, defaultValue = "1")
    private Long drawSn;

    @Schema(type = "String", name = "wxImg", description = "微信收款码", required = true, defaultValue = "xxx.npg")
    private String wxImg;

    @Schema(type = "String", name = "username", description = "用户账户姓名", required = true, defaultValue = "小强")
    private String username;

    @Schema(type = "String", name = "account", description = "用户账号", required = true, defaultValue = "115")
    private String account;

    @Schema(type = "Integer", name = "cashType", description = "类型：1微信收款图，2支付宝账号", required = true, defaultValue = "1")
    private Integer cashType;

    /**
     * 类型：1.用户下单，2.转换积分，3.兑换积分，5.订单返利，6.推广返利，7.推荐返利，8.代理返利，9.管理组返利，18.用户提现
     */
    @Schema(type = "Integer", name = "type", description = "类型：1.用户下单，2.转换积分，3.兑换积分，5.订单返利，6.推广返利，7.推荐返利，8.代理返利，9.管理组返利，18.用户提现", required = true, defaultValue = "1")
    private Integer type;

    // 状态(用户提现时：0为申请，1为提现成功)：0等待，1.有效
    @Schema(type = "Integer", name = "status", description = "状态(商家提现时：0为申请，1为提现成功)：0等待，1.有效", required = true, defaultValue = "1")
    private Integer status;

    // 创建时间（Unix 时间戳）
    @Schema(type = "Integer", name = "createTime", description = "创建时间")
    private Integer createTime;

    @Schema(type = "Integer", name = "updateTime", description = "更新时间")
    private Integer updateTime;

    @Schema(type = "BigDecimal", name = "cashMoney", description = "提现金额", required = true, defaultValue = "1")
    private BigDecimal cashMoney;

}
